Restore -Wl,-O1 to our LDFLAGS
authorJeremy Bicha <jbicha@ubuntu.com>
Mon, 24 Dec 2018 14:13:49 +0000 (09:13 -0500)
committerJeremy Bicha <jbicha@ubuntu.com>
Mon, 24 Dec 2018 14:13:49 +0000 (09:13 -0500)
debian/rules

index 84fe598b8f36cf7026b5a6d0973ad99bd27e8964..4631ad60b0d2b0a361a8bcee60c29f8e9beaa34f 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
 
 # Disable SSE2 except on amd64
 ifneq ($(DEB_HOST_ARCH_CPU),amd64)